<?php
class MedicinelibraryModel extends Orm_Base{
    public $table = 'medicine_library';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'name' => array('type' => "varchar(45)",'comment' => '药品名称'),
        'img' => array('type' => "varchar(200)",'comment' => '缩略图'),
        'remarks' => array('type' => "varchar(200)",'comment' => '备注'),
        'username' => array('type' => "varchar(50)",'comment' => '添加人员的姓名'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => '')
    );
    public $pk = 'id';
}
?>
